package cn.hallele.leinsteining.mc.infrastructure.metadata.exceptions.children;

import cn.hallele.leinsteining.mc.infrastructure.metadata.exceptions.LeInSteiningException;
import lombok.Getter;

/**
 * 参数获取异常
 *
 * @author anle5
 * @since 2024/7/26 22:17
 */
@Getter
public class ParamException extends LeInSteiningException {
    /**
     * 哪些参数失败
     */
    private String[] paramNames;

    /**
     * GGSException
     */
    public ParamException() {
        super();
    }

    /**
     * ParamException
     *
     * @param paramNames paramName
     */
    public ParamException(String message, String... paramNames) {
        super(message);
        this.paramNames = paramNames;
    }
}
